Skip to content

Conversation

@toonetown
Copy link
Contributor

Use boost::lexical_cast instead of std::to_string and std::stoi functions - which aren't defined by android.

I'm not sure about the performance implications or the added dependency that comes with this change (boost::lexical_cast) - but it seems to be working pretty smoothly, and all the tests still pass.

Use boost::lexical_cast instead of std::to_string and std::stoi functions - which aren't defined by android.
glynos added a commit that referenced this pull request Feb 1, 2015
Allow for building with the Android NDK.
@glynos glynos merged commit 55ec3cd into cpp-netlib:master Feb 1, 2015
@glynos
Copy link
Member

glynos commented Feb 1, 2015

Thanks, I'm satisfied with these changes.

Out of interest, how are you building this library for Android? Don't you need to make any changes to the CMake files?

@toonetown
Copy link
Contributor Author

I posted my answer on the mailing list...so that discussion can continue there - https://groups.google.com/forum/#!topic/cpp-netlib/vsqTPy9m3dE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants